
//
//  Article.h
//  HWFinal
//
//  Created by student on 2021/12/2.
//  Copyright © 2021 demo. All rights reserved.
//

#ifndef Article_h
#define Article_h

@interface Article : NSObject

@property(strong, nonatomic) NSString* u_id;
@property(strong, nonatomic) NSString* a_id;
@property(nonatomic) int field;
@property(strong, nonatomic) NSString* content;
@property(strong, nonatomic) NSMutableArray* images;
@property(strong, nonatomic) NSMutableArray* images_type;
@property(strong, nonatomic) NSString* time_stamp;

-(Article*)initWithUID: (NSString*) u_id
                andAID: (NSString*) a_id
              andField: (int) field
            andContent: (NSString*) content
             andImages: (NSMutableArray*) images
              andTypes: (NSMutableArray*) types
          andTimeStamp: (NSString*) date;

@end


#endif /* Article_h */
